home *** CD-ROM | disk | FTP | other *** search
/ 3D Games (Spidla) / 3dhry2.iso / Sokoban 3D Deluxe 1.0 / keyconstants.bb < prev    next >
Encoding:
Text File  |  2003-03-17  |  3.5 KB  |  170 lines

  1. ;***************************************************************************
  2. ;*   KeyConstants: Defines all the key values as constants
  3. ;*       Coded By: Krylar
  4. ;*   Last Updated: 9/14/2001
  5. ;***************************************************************************
  6.  
  7. ; the Escape key
  8. Const Key_Escape=1  
  9.  
  10. ; Number keys across the top of the keyboard
  11. Const Key_1=2
  12. Const Key_2=3
  13. Const Key_3=4
  14. Const Key_4=5
  15. Const Key_5=6
  16. Const Key_6=7
  17. Const Key_7=8
  18. Const Key_8=9
  19. Const Key_9=10
  20. Const Key_0=11
  21.  
  22. ; A-Z keys
  23. Const Key_A=30
  24. Const Key_B=48
  25. Const Key_C=46
  26. Const Key_D=32
  27. Const Key_E=18
  28. Const Key_F=33
  29. Const Key_G=34
  30. Const Key_H=35
  31. Const Key_I=23
  32. Const Key_J=36
  33. Const Key_K=37
  34. Const Key_L=38
  35. Const Key_M=50
  36. Const Key_N=49
  37. Const Key_O=24
  38. Const Key_P=25
  39. Const Key_Q=16
  40. Const Key_R=19
  41. Const Key_S=31
  42. Const Key_T=20 
  43. Const Key_U=22
  44. Const Key_V=47
  45. Const Key_W=17
  46. Const Key_X=45
  47. Const Key_Y=21
  48. Const Key_Z=44
  49.  
  50. ; Number-Pad keys
  51. Const Key_NumPad_7=71
  52. Const Key_NumPad_8=72
  53. Const Key_NumPad_9=73
  54. Const Key_NumPad_Sub=74
  55. Const Key_NumPad_4=75
  56. Const Key_NumPad_5=76
  57. Const Key_NumPad_6=77
  58. Const Key_NumPad_Add=78
  59. Const Key_NumPad_1=79
  60. Const Key_NumPad_2=80
  61. Const Key_NumPad_3=81
  62. Const Key_NumPad_Decimal=82
  63. Const Key_NumPad_Equals=141
  64. Const Key_NumPad_Enter=156
  65. Const Key_NumPad_Comma=179
  66. Const Key_NumPad_Divide=181
  67.  
  68. ; Arrow-Pad keys
  69. Const Key_ArrowPad_Home=199
  70. Const Key_ArrowPad_Up=200
  71. Const Key_ArrowPad_PgUp=201
  72. Const Key_ArrowPad_Left=203
  73. Const Key_ArrowPad_Right=205
  74. Const Key_ArrowPad_End=207
  75. Const Key_ArrowPad_Down=208
  76. Const Key_ArrowPad_Next=209
  77. Const Key_ArrowPad_Insert=210
  78. Const Key_ArrowPad_Delete=211
  79.  
  80. ; Function keys
  81. Const Key_F1=59
  82. Const Key_F2=60
  83. Const Key_F3=61
  84. Const Key_F4=62
  85. Const Key_F5=63
  86. Const Key_F6=64
  87. Const Key_F7=65
  88. Const Key_F8=66
  89. Const Key_F9=67
  90. Const Key_F10=68
  91. Const Key_F11=87
  92. Const Key_F12=88
  93. Const Key_F13=100
  94. Const Key_F14=101
  95. Const Key_F15=102
  96.  
  97. ; Country Specific keys
  98. Const Key_OEM_102=86
  99. Const Key_Kana=112
  100. Const Key_ABNT_C1=115
  101. Const Key_Convert=121
  102. Const Key_NoConvert=123
  103. Const Key_Yen=125
  104. Const Key_ABNT_C2=126
  105. Const Key_Kanji=148
  106. Const Key_AX=150
  107.  
  108. ; Media keys
  109. Const Key_PrevTrack=144
  110. Const Key_NextTrack=153
  111. Const Key_Mute=160
  112. Const Key_Play_Pause=162
  113. Const Key_MediaStop=164
  114. Const Key_VolumeDown=174
  115. Const Key_VolumeUp=176
  116. Const Key_MediaSelect=271
  117.  
  118. ; Web keys
  119. Const Key_WebHome=178
  120. Const Key_WebSearch=229
  121. Const Key_WebFavorites=230
  122. Const Key_WebRefresh=231
  123. Const Key_WebStop=232
  124. Const Key_WebForward=233
  125. Const Key_WebBack=234
  126. Const Key_Mail=236
  127.  
  128. ; Windows keys
  129. Const Key_LeftWindows=219
  130. Const Key_RightWindows=220
  131. Const Key_Apps=221
  132. Const Key_Power=222
  133. Const Key_Sleep=223
  134. Const Key_Wake=227
  135. Const Key_MyComputer=235
  136.  
  137. ; Misc keys
  138. Const Key_AT=145
  139. Const Key_Colon=146
  140. Const Key_Underline=147
  141. Const Key_Stop=149
  142. Const Key_Unlabeled=151
  143. Const Key_RightControl=157
  144. Const Key_Calculator=161
  145. Const Key_SysReq=183
  146. Const Key_RightAlt=184
  147. Const Key_Pause=197
  148. Const Key_Minus=12
  149. Const Key_Equals=13
  150. Const Key_Backspace=14
  151. Const Key_Tab=15
  152. Const Key_LeftBracket=26
  153. Const Key_RightBracket=27
  154. Const Key_Enter=28
  155. Const Key_LeftControl=29
  156. Const Key_SemiColon=39
  157. Const Key_Apostrophe=40
  158. Const Key_Grave=41
  159. Const Key_LeftShift=42
  160. Const Key_Backslash=43
  161. Const Key_Comma=51
  162. Const Key_Period=52
  163. Const Key_ForwardSlash=53
  164. Const Key_RightShift=54
  165. Const Key_KP_Multiply=55
  166. Const Key_LeftAlt=56
  167. Const Key_Space=57
  168. Const Key_Caps=58
  169. Const Key_NumLock=69
  170. Const Key_ScrollLock=70